using UnityEngine;
using System.Collections;

public class CameraPoint : MonoBehaviour {
	

	public GameObject previous;
	public GameObject next;

	
	// Use this for initialization
	void Start () 
	{
	
	}
	
	// Update is called once per frame
	void Update () 
	{
		if(next != null)
		{
			Debug.DrawLine(transform.position,next.transform.position,Color.yellow);
			
		}
		if(previous != null)
		{
			Debug.DrawLine(transform.position,previous.transform.position,Color.yellow);	
		}
		
	}
	
	public GameObject getPrevious()
	{
		return previous;
	}
	
	public GameObject getNext()
	{
		return next;
	}
	
}
